module RepliesHelper


	def like_tag(reply)

		icon=content_tag('i','',class: 'fa fa-thumbs-up')
		if reply.likes_count > 0
			label="#{reply.likes_count} 个赞"
		else
			label=''
		end
		like_label=raw "#{icon}<span>#{label}</span>"

		link_to(like_label,'#',title: "赞")
	end

end
